<!--
 * @Author: Logs404
 * @LastEditors: Logs404
 * 可以输入预定的版权声明、个性签名、空行等
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <title>喵喵喵</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.js"></script>
</head>
<body>
    <h1>测试</h1>
    <form id="bd" action="/" method="post">
    <input type="text" name="name">
    <input type="text" name="password">
    <button type="submit">确认</button>
    </form>
    <script>
        axios.post("https://api.fczbl.vip/hitokoto/",`encode=json`).then(function(response) {
            console.log(response.data);
        })
    </script>
</body>
</html>